<!--登录start-->
<div class="signIn">
    <span id="loginInfo">
        <div class="login-box">
            <input type="text" class="login-input" placeholder="手机号" id="tel">
            <div class="wrong-tips">请输入正确的手机号</div>
            <div class="relative" style="margin-top: 15px;">
                <input class="getcode-input" type="number" placeholder="验证码" id="code" onkeydown="BASE.keyEnter(BASE.LOGIN.loginBycode)">
                <button class="getcode-btn blue-change-btn" onclick="BASE.LOGIN.getCode.call(this,2)">获取验证码</button>
            </div>
             <div class="wrong-tips">密码为6-12位字母加数字的组合</div>
             <p class="clearfix" style="margin-top: 20px">
                <label>
                   <input type="checkbox" id="remember" class="checkbox">记住登录
                </label>
                 <em class="fright font12 clo9">未注册手机验证后自动注册</em>
            </p>
            <button class="submitBtn blue-change-btn" onclick="BASE.LOGIN.loginBycode(this)">登录</button>
            <p>
                <label>
                   社交账户登录
                    <a href="/login.html?from=index">
                        <img width="20px;" class="vmiddle ml5" src="../../../public/images/Wchat.png" alt="weixin">
                    </a>
                    <a href="javascript:;" id="qqLoginBtn" onclick="BASE.LOGIN.loginByQQ()">
                        <img width="20px;" class="vmiddle ml5" src="../../../public/images/QQ.png" alt="qq">
                    </a>
                </label>
                  <em class="fright">
                 <!--   <a href='/forgotPassword.html'>忘记密码</a> |-->
                    <a class="blue" href='/register.html'> 注册</a>
                </em>
            </p>
        </div>
    </span>
    <script id="loginInfo_tpl" type="text/html">
        <div class="pd20">
            <a target="_blank" href="/userCenter.html" class="ove">
                <img src="<%=imgPath(header)%>" alt="user" class="head-img vmiddle"
                     <%if expire%>
                     style="vertical-align: top"
                     <%/if%>
                     onerror="this.onerror='';src='/public/images/logoTag.jpg'">
                <b class="font16 relative">
                    <% if memberType==='V' %>
                    <img src="../../public/images/daren1.jpg" class="iconLV1" />
                    <% else if memberType==='D' %>
                    <img src="../../public/images/daren2.jpg" class="iconLV" />
                    <%/if%>
                    <%nickName%>
                    <%if expire%>
                       <span class="clo6 font13 fontn" style="position: absolute;top:15px;left:-8px;">
                       会员到期：<%=dateFormat(expire,'yyyy-M-d')%>
                       </span>
                    <%/if%>
                </b>
            </a>
            <!--<b  class="flex1 tright">
                <a href="javascript:;" class="clo9 pointer font12" onclick="BASE.LOGIN.exitLogin()">退出登录</a>
            </b>-->
        </div>
        <div class="flex center ptb10">
            <div class="flex1">
                <a target="_blank" href="/userCenter.html">
                    <div class="font18 clo0"><%followCount%></div>
                    <div class="clo6">关注</div>
                </a>
            </div>
            <div class="flex1">
                <a target="_blank" href="/userCenter.html?flag=fans">
                    <div class="font18 clo0"><%fansCount%></div>
                    <div class="clo6">粉丝</div>
                </a>
            </div>
            <div class="flex1">
                <div class="font18 clo0"><%memberType%><%=toFloat(gradeValue/100,0)%></div>
                <div class="clo6">等级</div>
            </div>
            <div class="flex1">
                <div class="font18 clo0"><%likeCount%></div>
                <div class="clo6">点赞</div>
            </div>
        </div>
        <div class="flex center ptb20">
            <div class="flex1">
                <a class="btn orange-btn" href="/userCenter.html"  target="_blank" style="margin-right: 0">个人中心</a>
            </div>
            <div class="flex1">
                <button class="btn ccc-btn" style="margin-right: 0">消息中心</button>
            </div>
        </div>
    </script>
</div>
<!--登录end-->